﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>

    <script src="../scripts/boot.js" type="text/javascript"></script>
    
    <style type="text/css">
    #d .mini-button
    {
        margin-right:10px;
        margin-bottom:10px;
    }
    </style>

</head>
<body >
    
    <div>具体请参考"scripts/miniui/themes/icons.css"</div>
    <br />

    <div id="d">
    </div>

</body>
</html>
<script type="text/javascript">
    var icons = ["icon-add", "icon-addnew", "icon-edit", "icon-remove", "icon-save", "icon-close", "icon-cut", "icon-ok",
                  "icon-no", "icon-cancel", "icon-reload", "icon-search", "icon-print", "icon-help", "icon-undo", "icon-redo",
                  "icon-tip", "icon-zoomin", "icon-zoomout", "icon-goto", "icon-date", "icon-filter", "icon-find",
                  "icon-folder", "icon-folderopen", "icon-lock", "icon-unlock", "icon-new", "icon-node", "icon-nowait", 
                  "icon-sort", "icon-wait", "icon-upgrade", "icon-downgrade", "icon-download", "icon-upload", "icon-user",
                  "icon-split", "icon-addfolder", "icon-expand", "icon-collapse"
                ];

    function createButtons(id) {
        var el = document.getElementById(id);
        var html = "";
        for (var i = 0, l = icons.length; i < l; i++) {
            var icon = icons[i];
            html += '<a class="mini-button" iconCls="' + icon + '">' + icon + '</a>';
        }
        el.innerHTML = html;
        mini.parse();
    }

    createButtons("d");

</script>